now passes tests on snapshot