fix code formatting
fix options setting
add link to instance of Hat to Asker constructor
remove link to Asker in the Hat#restore
add some tests