Fixed broken main methods in tests and update README