Fixed issue with bad shell escapes on JSON daemon spec
Fixed resetting test supervisor state