unit tests throw errors