fixed tests with registering model, updated readme