Yeah, testing this is difficult, but I think your way is fine.