added test for adding a source to the database