move queue tests in separate file