Add tests for comment parsing in Spider

The spider parses URLs that it finds in comments, so we should add some
test cases for this behaviour.