added unit tests for coefficient info and storage debugging, and improved debug output