removing state param from public API
Cleaning up test file
Merge branch 'pr/151'