updates to unit tests
Merge remote-tracking branch 'remotes/origin/master' into shaunjl