"Added test for repository - upload content"

please review it
thanks


@kbidarkar please go thru this #1440 (diff)