Lionel Messi in court to testify in tax fraud case