Remove duplicated test
Use Test::FailWarnings instead of Test::NoWarnings