Removed wrong commit
Add js patterns tests