jshint
added class hooks through options
adding new test so as to not forget