Complete the standard match algorithm
Add std match test file