Added tests for resource generation and view tables