Fixed bug with image inserting + few bugs with acceptation tests.