Put test logic into separate gist