fix for makeblastdb temp directory type validation error plus tests