test Queue methods