Add basic tests for 'start' and 'end' functions