fixed tests
added test