Add some edge cases to join.t test

test what join return if called with empty LIST, also
test that it produce warning if separator is undef