added automated test