Add brackets to test expression for better scripting