[test] Adding in tests for popping and shifting