This fixes some of requirements of brackets, but fails some other tests like [:phone:].
Refactored specs a little bit