prepared for tests
added initial tests