Adding failed test and pass code for project and its spec file