add tests for checking output and scripts