writing tests for 3 && 4