Add liability class and liability tests