corrected tests for testing view render