Finish left-most element tracking, add tests