       @bounds = selection.getBounds(5)
       expect(@bounds.height).toBeApproximately(@reference.height, 1)
       expect(@bounds.left).toBeApproximately(0, 1)
-      expect(@bounds.top).toBeApproximately(@reference.height, 1)
+      expect(@bounds.top).toBeApproximately(@reference.height, 2)
     )
 
     it('end of line', ->

      @bounds = selection.getBounds(9)
      expect(@bounds.height).toBeApproximately(@reference.height, 1)
      expect(@bounds.left).toBeApproximately(@reference.width*4, 1)
      expect(@bounds.top).toBeApproximately(@reference.height, 1)
    )

    it('large text', ->

      @bounds = selection.getBounds(5)
      expect(@bounds.height).toBeApproximately(@reference.height, 1)
      expect(@bounds.left).toBeApproximately(0, 1)
      expect(@bounds.top).toBeApproximately(@reference.height, 2)
    )

    it('plain text', ->
