Some test code to help me understand scala better