refactoring tests for plateau size and heading variable