added TEST and library