partial working unit tests