Added bulid pattern test.
Implemented builder pattern.