Change SplStack to SplQueue, and add test data