Fixing tests to work with stack pointers.