Finished concatination code and added 3 tests