added a static test method