policy generation tested. closes: #1