Add unit test for computer inventory