Simple llsec regression test

This pull request adds a simple regression test for the llsec code.