changed test directories to use HOME as base directory

Changed test directories to use HOME as base directory. Not 100% sure if this is the right way to do it.