fixed minor bugs
added test for cding into full stream wrapper url
throw exception when user tries to leave base dir