Add tests for install-dir_check.