restore untested $LOAD_PATH behavior, add tests, fixes #1463