added a bunch of lens tests
fixed bug in attr accessors