Mock builder exception tests.