Made unit test logic tests