Iss 28 test refactoring

Check refactored testing. Will add category and vote testing in separate issue.