refactor jobs spec, add context with parent
check if job is a child
add has_parent? method
fix spec
spec for spotted bug
fix bug with assigning parent
change naive expectations
add sorting method
add validations