fixes incorrect dist location for test and replace