added tests to demo project