Added tests for the activity view mixin.