fix tests for build generator