Add tests for inverible