renaming @log to @logger
fixing typos on getting instance variables, making chown work properly in test_apply.rb, adding a defaults test for instantiation