make includedir variable + add test