Finally managed to produce an in-memory fake image for testing project creation with header image. Now exposes bug in this code
Fixed error in saving header image