Add license header and clean the test class/method that are no longer used #53