enhance test for no warning