ticket:5 Added test case for photo upload