can you write a unit test showing this behaviur? THX