test with messager and listener