Added test cases for basic functionality and messaging