Flask route testing