started to add tests
added rec test