Add unit tests for traits and child request builder.