Added NilClass test just because I wan't sure if it was covered