Removelog

added test case and clarified error messages