Adds tests for getTop and getRight.