Add some tests for stages