Finite element techniques applied to cracks interacting with selected singularities