minor fixes to unit tests

minor fixes to unit tests