added test to verify latest first default in workouts
fixed test for correct order and fixed model
fixed failing tests and deprecation warnings with those tests