Evaluating the Instruction-following Abilities of Language Models using Knowledge Tasks