Added tests for coverage metric. Removed FrameinstanceTest. Cleaned Main
and Engine of demo code