Assert function for easier debugging
Displays in the console (chrome) in green or red what test succeed or failed