Add specs for nested view generator, fix project dir creation