Added basic synchronous testing

needs work