Add test that expects() does not exist on non-Objects