working test & output