jasmine UnitTests rectnode