added some test images, fixed a few bugs