Use arrow function syntax for tests

Tests are failing only because of the recent immutableObject changes. I also left those files be.