Writing tests for image uploading and semi-completing pagination tests