Assert handler-fn and it's return value