fixed mass assignment error in test