resolve build issues introduced with angular file structure reordering

It required a blend of updates to the build script, build dependencies, and filepaths in the test scripts, but I now believe the tests are fully restored, both as standalones and as part of the build.