Add test_installed_version_not_installed

Checks what happens when user tries to get `installed_version` property for a `InstallRequirement` object when that distribution is not installed.