Completed lua test-module.lua

The test-module.lua now includes test of all API functions in the Test
Gear lua modue.