more unit tests for REST runner