Added some tests for Subset API