Update require paths and add tests for styleguide toggle