Modified the standalonecommand.* files to work properly
Added code to test the standalone commands