Refactored tests, added new methods to Stack and Queue