added sorl support and a simple test