refactor srp test