implemented hand tests