Added a second adjacent method and test for refactoring.