towards working unit tests