tests for builder