fixed concat, fixed tests, added demo