Modularized data unit tests.
Moved str_to_u8(...) to data.rs and added a unit test.
Moved join_from(...) to data.rs and added a unit test.
Test module is now only included when running tests.