Add resourcet package to build-depends of the test-suite section
Use (ProperList | DottedList) instead of Pair
Use ProperList and DottedList in tests
Flatten dotted list