added tests to rete