test: group N-gram related tests