Added unit tests for rm.
Merge branch 'master' of https://github.com/adaptivecomputing/torque