      var output = StrandLib.Rectangle.fixBits(rect, overlap, StrandLib.Rectangle.SIDE.TOP | StrandLib.Rectangle.SIDE.BOTTOM);

        output.should.equal(StrandLib.Rectangle.SIDE.LEFT | StrandLib.Rectangle.SIDE.TOP);
      });

      it("should adjust to the left side for right overlap with center align", function() {
        var rect = StrandLib.Rectangle.SIDE.CENTER;
        var overlap = StrandLib.Rectangle.SIDE.RIGHT;
        var output = StrandLib.Rectangle.fixBits(rect, overlap, StrandLib.Rectangle.