bundle read first message
refactor testapp