addoing test for REGISTRY-2181
fixing product build failure
Merge pull request #11 from cnapagoda/master

 adding test for REGISTRY-2181