Changed console.log to angular $log service
Test harness added, four tests passing. WIP.