Angular test (incomplete and messy)