Adding test that no warning is raised