made test method public