Test callback before .on. Closes troopjs/troopjs-core#91