Update RuleTest.java

Added shiftHorizontal tests.