added more pattern tests