fix .luvit support and add tests for .luvit