Undefined function inside of a test

Thanks!