make it possible to add replacements
add api listener setFlash test