Updated graph tests to BDD