add first tests
change commonJS format