Update Testing.js

added tests for isTop and isBottom