adds ray generation and image test