Fixed a bug that was causing the target to be shortened to the first character, making the whole subdirectory get loaded for completions every time.  Added loader tests until we hit 100% coverage on the loader module.