support callbacks

closes #1
use assert for coverage
1.1.0