Testing peripheral library