Code formatting in tests

Removed invalid commas and semicolon, more consistent spacing for objects.