Replace is_grounded_ with ground_state_ with tests