medium test passing