created unit tests