add factory and basic controller test
Merge branch 'master' of https://github.com/godaddy/spree_plugins