Introduce annotation-based tests for stack configuration