Add tests run target, fix assert while loading file