added black-box tests (compile, run and compare outputs)