fixed register_model, specific argument combination did not work, tests are included