[test]add tests for images_controller