Adds test for querying by ID using array notation