improve test to cover another important case