refactor tests to model order, and added gem strong parameters