re-add support for multi-valued attributes

Add tests for getting multi-valued attributes