Minor improvements

Studying the changelog I found out that the ```log_last_excpetion``` utility is not needed. Trying to write some tests following bugs appeared.