(1) fixing bug in getting effective address space of asn
(1) Added simple test for getting as effective prefixes