replaced selenium with phantom for integration tests