Fixed checkSource logging test when offline
Added unit tests for Target getters
Throw proper Error objects, not strings
- unit tests check messages on expected errors
- no more double quotes anywhere
Unit tests pass without WebGL