Testcase for Grill Cli and Grill Client.

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

can you set the result directory and persist location to be in target/  similar to grill-server tests, instead of using default locations?