move attr_accessor_instance_variables into separate module
fix typo
made tests a little bit more readable