Add tests for AbstractController (oops, should have been written first)