mock library