added tests framework