If you want to test for Drupal core knowledge, one can take a HEAD at a certain date and grab an issue which had been solved and give them that as a task to be solved. Unless they know core off head, they won't know the exact solution which they need to find. Finding tasks like this is not hard.