[fix #3] remove comments and add spec in functions
[fix #3] test two matches simultaneously