Add test for security token condition