test: Shorten codes