Using testr instead of nosetests

Change-Id: I86f72a5a72dcc630df69673f366e891ab269e45f