move testing callbacks to separate test