Original code makes it seem like hasCallback has the highest precedence, so added test to prove that