added testHeadlessCropStack