fixed tests + added to view page