fixes issue #175, add separate tests for ro/rw

proposed solution to #175, changed tests to reflect the ro/rw option in the bind.