added tests for ActivitySerializer