Test code #lib operations