added tests to 100% coverate