added phpunit to composer requirements.
recreated composer lock file.
implemented step definitions. added kludge to make logged-in check pass.