corrected tests for assignment method according to the new representation of Factor [refs #137]
completely changed assignment method according to new representation and also reducing the execution time by half [refs #137]