Expose chai's expect() function globally

This enables more natural syntax for test cases where
we're testing for undefined/null.
Add tests for prop()
Fix lint errors