added unit test, it is already in builing