proper tests for blpop and brpop