Test cases for callback regression