put variable names in the input parameters for readability
Added test cases for favoriteUsers table and favoritePhotos table