Correct issues with the test suite.

Previously, various Expecta calls were not using the correct methods
(beNil instead of beNil()). This will cause some tests to report false
positives.