Three in court over P-lab fire