Pillbox tests

Added tests for pillbox object and pillbox controller object