Fixes to test, basic implementation of listall