Study of higher order modes in superconducting structures for linac applications