Added capture_io to test
Added new githook to test