implement tests for video