Adding tests.

"After Loop" is failing because implementation incomplete
Adding genMap and coSplit
Adding test bash script