init libraries and test