Setup unit tests, add custom user image option