adds more unit tests. fixes a few problems with assets in the schema. all tests passing.