<div dir="ltr">based on Austin's patch, fixed tests.<br></div>