message: add common_test framework