first failing test and added required javascript libraries