updated wait time and added test for composing and reading messages