tests for creation