Add test: should append element