amd dist, use dist file in tests