fix the test
put tests back
fix tests for factorial
integration for fromdicts