Fixed small error in contents and built test for renderPromise