fixed class attribute -> instance attribute, added minor testing regime; more to come on that front