working creation with tests