Added liberty test. (Almost 100%)