added a more thorough test for unserialising rosafactory.