Register custom WorkOrder view with work order module
Fixed some issues in tests.  Currently not testing optional inventory functionality.