Refactored tests, added job application tests