Fixed interactive mode

When running 'testgearctl --interactive' the test gear lua API was not available. This is now fixed.
Fixed prompt