added specs for js/views/card/composite and layout