Fixed append and object tests and bugs