added model tests for inventory -- closes #23