Getting unit tests to pass and fail