Unit test refinements

Signed-off-by: David Noble <dnoble@splunk.com>