fix basepath to point from java to resources
add createWithUnclosedContainers() test