Changed activity to activity table and fixed tests for displaying it.