fixes callback config in tests and sample configuration