fixed tests and created dist