Updated test TLD according to the new PR
Fixed building of pattern based on enumerations

Closes dandelion/issues#152