finished added tests