Make tests work without installation