significant testing cleanups and refactoring, mostly just have to fix mesh logic now