Added specs for pattern matching read/write versions