Make sure looking up by id works correctly