Added an 'integration test' which ensures we won't regress on previously reported issues