pillbox 3.0.0 unit testing + minor fixes