added gcov
added more tests, 66.49% coverage