added tests for data controller
Merge pull request #22 from adowns01/testing

added tests for data controller