Added some more rest posts and gets, also their tests.
Some tests don't work because they expect to get one object
and instead they receive an array of objects.
Need to fix expects or remove the data from db so that only one object
is returned.