Allow concat to take non-array second parameters

Also improve and extend concat tests to lock down functionality