Moved queue unit test to gtest framework