added attr readers because tests failed
changed path to require class because it was not relative