sammyjs Updated definitions + fixed compile errors in tests.