fixed braces in nlte_test function