liblas: modernize test

This formula might be the last one still using ``def test``.