refactored the blackbox test a bit, nothing should be wrong but for some reason it fails