firt version of CastlingTest