added sinon as a karma framework
Updated feature definition to be more realistic along with the corresponding step definition.
Set async back to true at the end of the test.