working unit tests