Fix test framework bug: needed shopt -s extglob
Improve test framework: assert_fork_is_running

Also assert_fork_is_not_running
Added 'framework' test case for fork primitives