updated test case for rosafactory
updated rosafactory for testability
updated test case for rosafactory