updated test for removing keys with dots