image spec tests