added first tests for queue