testing error log fail is not dependent on mvc controller