Building Generator Test.