feat($scaling): fix unit tests #1061