Made tests work with Razor