removed poor method test function.
Replaced multiline string symbols with single quotes on one-line sql queries.