test new way of constructing a formula object