String comparison of test is done with '=', not '=='.