added tests to uploadPrimaPicture