Fix MakeMaker build, add tests

MakeMaker profile didn't work; was passing Path::Tiny object instead of string.

This fixes that and includes a test.