add support to methods to spiderling simple tests form
Fixed whitespace replace in text content

improved regex and added tests for text method