Add testing config and fix path check