implements forking into background
some test framework brainstorming
fixes, improvements, and cleanups