Tests were added for elsif. insideString method conditions were loosened