added tests && fixed bug with createReadStream's end option
added test for nested prefixes