add variable action

not done yet
Why do we need a Simpletest for this and cannot use the PHPUnit test base? Please add a comment.