#718 - fixing failing jsunit test