added more queue tests and switched to atomic ops for message ref counts
3 files changed