Writing some tests