added tests, changed component name to primitive and changed test format to new standard
Summary: Ref T2696
Reviewers: #testers, kuba-orlik
Reviewed By: #testers, kuba-orlik
Subscribers: kuba-orlik
Maniphest Tasks: T2696
Differential Revision: https://hub.sealcode.org/D1322