Tests for user, client and resource REST routes