Added simple test-case to test exec