autotools: use the correct relative path to tests