modifed test cmake to resemble @julry one from fludag
added install path option