Fix broken test case, which used black image
Fix bug in get_pixel3d