Finished softlinks and added some tests.