tests refactoring
fixes #35 application not working after trying to access to locked log