Added tests for source