I could be wrong but given how fast things change in this business, this seems to test very micro level skills not the learning and adaptability skills.
What if a guy could, given the business or technical issue the code solves, write something faster than he could fix others code?
May be the job is about heads down coding so this bug fix test is appropriate..