imported real code for NIB test view

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>