added init tests for images
finished tests for initing with relative path