add test of flag using in python web django