End to end unit testing based on structured log output