setup for rpsec testing enviroment
small changes and added basic validation
removed dead code
added tests for textprocessor