Resource class update fix (rack collection)

Fixes #37 and adds tests against regression.

Also I commented out the failing test, so that the test fail/pass information is actually helpful to the developer when changing code.