Add test for BasicSet#ids method.