added tests for creating realizations via db and via forms