test that inv on singular emits a warning