Black and white box testing