Fixed CS errors in test cases

Whitespaces to tabs, lowercased NULL's, added @throws to docblocks