Improve circular reference error message
Specify main file in package
Add more complex unit tests
Add another test for arrays with non-dependent numbers