update messagesendservice test chanage test from junit to main method