Add exception handle while get legislator instance
legislator tests init
add tests in README
add test setting and require modules