test mocks, function creator, angular externs