Implement allow('all', ...) + more patterns + more tests