Added Test view and test_api