Test attributelist

Also a couple of bugfixes.