added unit test preparation