tests for basic classes