write some tests for basis components