Moved file test_stack.py to tests