fixed help and added tests