Added Test project and written first round of tests.