add tests for public struct functions, use constants for increment trigger, increment via internal switch case