Fixed no-hit blast bug and faulty regexs, added tests