testing code for prefix as base path