finalize and overhaul frontend and backend tests in CI