fixed the backend stuff so that the tests now work! :D