added small logic pattern and test block for logic pattern test. Not sure why this wasn't pushed before