Adding tests to Routes Helpers module and Stack class