add test for ImmutableStack