Strange mock build failure due to typo