Random test, res length should always be divisible by three