Adding pattern tests
Initial push with working tests