refactoring test specs to match example project