added tests and fixed few errors, backward brakes:push array
now queue.push array is queue.pushmany