refactor LIS back out of class, simplify tests