Update the getAltPaths tests

Now also tests the alternate path in the template and uses com_foobar rather than a real example

Can we go back to putting tests on the feature/tests branch please :P