component unit tests