Adds a test for the inspect method