correct reference images and more tests