Paul Thijssen made several "dry runs" before brutally murdering his colleague and ex-lover Lilie James in a private school's bathroom, a coroner has heard.