added unit testing setup
Merge branch 'master' of https://github.com/leonsas/DressMe
refactored code to allow unit testing