Added library and simple test