Path related tests. Need to refactor though.
Add tests for model registration. But consider moving model
registration code into another module.