cleanup, browser test integration, fix transform to work with tests (catching relative paths)