adding tests for stages and routes