Add unit tests for auto-generated value class readers