Unit test for broken read.apply()