Fix user on computer inventory and add unit test for that