Unit test to demonstate broken alignment in get_all.

- See issue #12.
Get_all fixed from @rarmknecht
Form query dynamically to avoid hardcoded index.

- Old way requires maintenance and is error-prone.