Added test framework, and test 3