- unit tests for LineSource base class