fixed failing tests
Moved backend deck reorder code form view to form and added validation.