Add test to calculate angles