fixed bdiscriminator error from case, updated test file