added tests. fixed description