more proper unit tests