Implement file name flag in output
Improve logger tests

* Remove badDate variable
* Fix missing flags for Lansi and Lstdflags
* Add new test