Fix tests when ploy itself isn't installed.