refactor statics test

Signed-off-by: Joern Bernhardt <jb@campudus.com>