refactor specs to contain act method