adds mock reader.
fixes class name
adds "matches" helper function