test drain workaround