refactor aaparser pkg, add unit tests Upstream-commit: 3233f4560912fee87857f653a8bb32050dc04927 Component: engine