Testing scenarios for Django defined as graphs