Categories testing sort of implemented

There are still two tests that need to be implemented, but this is a good start.
All implemented tests try out the REST API.