Added second style of using the lib as a test