Fix tests
Merge pull request #249 from aplanas/master

Fix tests. And makes staging.get_open_requests NonFree care of.