Remade tests to test business logic rather than http response codes

I think it is far more valuable to test the business logic classes (located in `/resources`) rather than testing the HTTP status codes.

This also fixes the issue where it is hard to test the status codes when some pages require authentication (see PR #68).