Added tests for angular services