Keep github settings in gh-pages
Only run extensive pre-commit hook when needed
Update tests for AST and SST changes
Unify ast/sst tests with common helper