Added fixed patterns and tests