Add proper specs for assignment model and ctrl
fix invalid assignment form