Tests for various inspect methods.