Testcase for Grill Cli and Grill Client.

Fixing misc bug fixes in the code which were not caught in testing.


You might want to do status.isFinished() instead of all the status checks. there are new states added like Executed, which is not checked right now