Fixes forgotten return statement in api unit tests for resource_class
Related to bug 1212238 @ https://bugs.launchpad.net/tuskar/+bug/1212238

Change-Id: I87b952b690b688ceb061972784454e6f3e2905ab