Writing proper tests.