Removed unused test_models
Fixed bug in update_rates command and added tests