Fix double free when final message length lower then or equal to start length.
Modules support added, one_to_one2 and all_to_all2 tests ported.
Final version