Flight simulator firm in court over unsafe machines