Fixed path handling of StorageBean, added test