Added getNameBySource
Added break to while loop in getAppidsBySource
Added test for getNameBySource()
Added functionality to getNameBySource()