Add test case for ScriptablePath API.

It can be tested with `activator plugin-test`.