added controller testing
Merge pull request #7 from mechamanny/controller_testing

added controller testing