Added some test cases that rely on a fake application and model classes. Nowhere near complete.