(Activity) Fixing inaccurate unit test.