progress on integration tests and added status and sid to messages