Iran tests reactor, moves closer to becoming nuclear power