Implementing unit test