added automated testing