firwin with tests