expectation on nil doesn't warn anymore