fixed tests; gave licensetype a toString so it gets shown properly in GUI
merged