Test improvements

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