Improve test with negative case