fix a few bugs with callback system, add some test signals