Split test and implementation