fully working component test