test for when no data at end of stack