Improve the test as suggested by @domenic.