Added automated testing and debugged the project