fixed minor issues in unit tests