Added test for an edge case of object + alias