Make tests work standalone