refactoring test message