fix make tests in subdirs