source unit tests, retrieving sources from db