Give sourcemaps the correct paths to source

:boom:
Refactor tests a little

Consistent patterns and should be a good basic structure if we want to test more
than one file.