Refactoring tests
Moving license from MIT to LGPLv3