use test instead of match
Merge pull request #1 from LinusU/patch-1

use test instead of match