added basic test for sending image file to frontend