tests for callbacks attached and changed