Fixes RobotlegsInjector.createChild() bug. Adds tests