Added test framework

found online. yet to compile and run it