module solver, test cases for horizontal right move