added error logger test with different file and same line