Fix phactory test case
Throw error on not connected
Merge pull request #35 from jrschumacher/fix-tests

Fix phactory test case