Add timed and complexity tests