more tests and added boolean callback signature