adding tests for obj builder
use _.isEmpty for safety